#!/usr/bin/env python
# Copyright 2014-2015 RethinkDB, all rights reserved.

import squash_base

class SquashTwoSecondaryEmpty(squash_base.SquashBase):
    squash = 2.0
    field = "secondary"
    records = 0
    limit = 10

class SquashTwoSecondaryHalfFull(squash_base.SquashBase):
    squash = 2.0
    field = "secondary"
    records = 5
    limit = 10

class SquashTwoSecondarySingleHashShard(squash_base.SquashBase):
    squash = 2.0
    field = "secondary"
    records = 10
    limit = 2

class SquashTwoSecondaryMultipleHashShards(squash_base.SquashBase):
    squash = 2.0
    field = "secondary"
    records = 20
    limit = 2

# ===== main

if __name__ == '__main__':
    import unittest
    unittest.main()
